package cn.ym.mall.entity;

import java.io.Serializable;

/**
 * @author 漆家乐
 * 省实体类
 */
public class Province implements Serializable {
    private static final long serialVersionUID=654252435L;
    /**
     * 编号
     */
    private Integer id;
    /**
     * 省编号
     */
    private Integer prid;
    /**
     * 省名
     */
    private String prname;

    public Province() {
    }

    public Province(Integer id, Integer prid, String prname) {
        this.id = id;
        this.prid = prid;
        this.prname = prname;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPrid() {
        return prid;
    }

    public void setPrid(Integer prid) {
        this.prid = prid;
    }

    public String getPrname() {
        return prname;
    }

    public void setPrname(String prname) {
        this.prname = prname;
    }

    @Override
    public String toString() {
        return "Province{" +
                "id='" + id + '\'' +
                ", prid='" + prid + '\'' +
                ", prname='" + prname + '\'' +
                '}';
    }
}
